/*
 * @Author: zhangweixin 
 * @Date: 2018-11-26 21:25:35 
 * @Last Modified by: zhangweixin
 * @Last Modified time: 2018-12-18 15:10:06
 */
import React from 'react';
// import ENV from 'ENV';
import {Link} from 'react-router-dom';
// import LoadMoreBtn from '../../components/loadMoreBtn/index';
// import UserAgent from "../../util/UserAgent";
import style from './style.less'
// style 格式为{key:value}这种。key为[name]-[hash:base64:5]格式
import classNames from 'classnames/bind';
// https://github.com/JedWatson/classnames
const classMap = classNames.bind(style);
// 使用方式 大概如下
// let classNamea = classMap("a",{
//   abc:true,
//   a:false
// })
// import NavTabBar from 'components/navTabBar/index.js';
import RushBuyingItem from 'components/rushBuyingItem/index'
// import {getObjKeyValue} from 'utils/utils.js'
const a = require('utils/require.js')
// console.log(a)
const render = function() {
		console.log(this)
		let obj = {
			abc:{
				cd:3
			}
		}
		// console.log(getObjKeyValue(obj,'abc.cd',1))
		console.log(a.getObjKeyValue(obj,'abc.cd',1))
    return(
			<div className={classMap("P-index")}>
				<div className="header">121322245</div>
				<Link to="/counter">www1323</Link>
				<div className="swiper-content"></div>
				<div className="content">
				<div className="content-nav"></div>
				<div className="pro-list">
					<RushBuyingItem />
					<div className={classMap("pro-item")}>
					<div className={classMap("pro-item-image-box")}>
						<img className={classMap("pro-item-image")} src="https://static.newkr.net/goods/20180917/102550-UYMDg7XPYX1AVNen.jpg-280x280" alt="产品图"/>
						<div className={classMap("pro-item-status-label")}>
						
						</div>
					</div>
					</div>
				</div>
				</div>

				{/* <NavTabBar /> */}
			</div>  
    )
}

export default render;